package org.pro.bookkeeping.core.service;

import javax.jws.WebParam;
import javax.jws.WebService;

@WebService
public interface PublicBookkeepingService {

	public String regist(@WebParam(name = "LoginName") String LoginName,
			@WebParam(name = "Password") String Password,
			@WebParam(name = "UserName") String UserName,
			@WebParam(name = "Mobilephone") String Mobilephone);
	public String login(@WebParam(name = "LoginName") String LoginName,
			@WebParam(name = "Password") String Password);

	public String addLogging(@WebParam(name = "UserID") String UserID,
			@WebParam(name = "Time") String Time,
			@WebParam(name = "MoneyValue") String MoneyValue,
			@WebParam(name = "Type") String Type,
			@WebParam(name = "Note") String Note,
			@WebParam(name = "TypeID") String TypeID);
	public String delLogger(@WebParam(name = "LogID") String LogID);
	public String cancelLogger(@WebParam(name = "LogID") String LogID);

	public String findLoggerListByUserID(@WebParam(name = "UserID") String UserID,
			@WebParam(name = "page") String page,
			@WebParam(name = "row") String row);

	public String findLoggerOneByLogID(
			@WebParam(name = "LogID") String LogID);

	public String updateLoggerOne(@WebParam(name = "UserID") String UserID,
			@WebParam(name = "Time") String Time,
			@WebParam(name = "MoneyValue") String MoneyValue,
			@WebParam(name = "Type") String Type,
			@WebParam(name = "Note") String Note,
			@WebParam(name = "TypeID") String TypeID,
			@WebParam(name = "LogID") String LogID);

	public String findAccountByUserID(@WebParam(name = "UserID") String UserID);

}
